package com.springMVC.util;

/**
 * 接口
 * Created with IntelliJ IDEA.
 * User: AnCong
 * Date: 2017/4/27
 */
public class Rest{
    private String result;
    private String message;
    private String error;
    private Object data;
    private Class clazz;
    private String code;
    private String url;
    private String version;
    private boolean isSuccess;

    public boolean getIsSuccess(){
        return isSuccess;
    }

    public void setIsSuccess(boolean success){
        isSuccess = success;
    }

    public String getResult(){
        return result;
    }

    public void setResult(String result){
        this.result = result;
    }

    public String getMessage(){
        return message;
    }

    public void setMessage(String message){
        this.message = message;
    }

    public String getError(){
        return error;
    }

    public void setError(String error){
        this.error = error;
    }

    public Object getData(){
        return data;
    }

    public void setData(Object data){
        this.data = data;
    }

    public Class getClazz(){
        return clazz;
    }

    public void setClazz(Class clazz){
        this.clazz = clazz;
    }

    public String getCode(){
        return code;
    }

    public void setCode(String code){
        this.code = code;
    }

    public String getUrl(){
        return url;
    }

    public void setUrl(String url){
        this.url = url;
    }

    public String getVersion(){
        return version;
    }

    public void setVersion(String version){
        this.version = version;
    }
}
